import Request from '@/axios/request'

export function getBibleChapters(params) {
  return Request.get('bible-chapters', { params })
}

export function createBibleChapter() {
  return Request.get('bible-chapters/create')
}

export function storeBibleChapter(data) {
  return Request.post('bible-chapters', data)
}

export function updateBibleChapter(id, data) {
  return Request.put(`bible-chapters/${id}`, data)
}

export function editBibleChapter(id) {
  return Request.get(`bible-chapters/${id}/edit`)
}

export function destroyBibleChapter(id) {
  return Request.delete(`bible-chapters/${id}`)
}
